class Employee:
    def sayHello(self):
        print(f"Hello, I'm an employee named {self.name}")


class CEO(Employee):
    def __init__(self, name, company):
        super().__init__(name)
        self.company = company

    def sayHello(self):
        super().sayHello()  # 调用父类的sayHello方法
        print(f"I'm the CEO of {self.company}")

    # 实例化一个CEO对象


ceo = CEO("David", "ACME Corp")

# 调用CEO的sayHello方法
ceo.sayHello()